const express = require('express');
const bodyParser = require('body-parser');
const app = express();

app.use(bodyParser.urlencoded({ extended: false }));

app.use(express.static('public'));

const router = require('./route');
app.use(router);

app.listen(80, function () {
    console.log('http://127.0.0.1:80');
})